+Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
+ tearoff window so when we reparent the window out,
+ the window doesn't shrink down.
+
1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: do not export the glib flags for thread support to
+Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
+ tearoff window so when we reparent the window out,
+ the window doesn't shrink down.
+
1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: do not export the glib flags for thread support to
+Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
+ tearoff window so when we reparent the window out,
+ the window doesn't shrink down.
+
1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: do not export the glib flags for thread support to
+Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
+ tearoff window so when we reparent the window out,
+ the window doesn't shrink down.
+
1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: do not export the glib flags for thread support to
+Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
+ tearoff window so when we reparent the window out,
+ the window doesn't shrink down.
+
1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: do not export the glib flags for thread support to
+Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
+ tearoff window so when we reparent the window out,
+ the window doesn't shrink down.
+
1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: do not export the glib flags for thread support to
+Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
+ tearoff window so when we reparent the window out,
+ the window doesn't shrink down.
+
1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: do not export the glib flags for thread support to
widget->window,
0, 0, 0, 0, -1, -1);
gdk_gc_unref(gc);
-
+
+ gtk_widget_set_usize (menu->tearoff_window,
+ widget->requisition.width,
+ widget->requisition.height);
+
gdk_window_set_back_pixmap (menu->tearoff_window->window, pixmap, FALSE);
gdk_pixmap_unref (pixmap);
GtkWidget *attach_widget;
menu->tearoff_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_widget_set_app_paintable (menu->tearoff_window, TRUE);
gtk_signal_connect_object (GTK_OBJECT (menu->tearoff_window),
"key_press_event",
GTK_SIGNAL_FUNC (gtk_menu_key_press),